<h1>User info Edit</h1>

<% form_for @user, :url=>{:action=>:update,:id=>@user.id }do |f| %>
  <p>
    <b>Name</b><br />
    <%= f.text_field :name %>
  </p>

  <p>
    <b>password</b><br />
    <%= f.text_field :password %>
  </p>


  <p>
    <%= f.submit "Update" %>
  </p>
<% end %>